/*
 * @Author: sxb
 * @Email: sxb@mail.com
 * @Date: 2020-11-11 14:57:23
 * @Descripttion: 
 */



export const tableOption = {
    border: true,
    menuAlign: 'center',
    align: 'center',
    delBtn: false,
    editBtn: false,
    addBtn: false,
    viewBtn: false,
    menu: false,
    searchSize: 'mini',
    searchMenuSpan: 3,//搜索所在比列
    searchBtn: true,//搜索
    columnBtn: true,//显隐
    refreshBtn: true,//刷新
    column: [
        {
            label: '用户ID',
            prop: 'id',
            hide: true,
            search: true,
            type: 'input',
        },
        {
            label: '用户名',
            prop: 'name',
            search: true,
            type: 'input',
        },
        {
            label: '奖励类型',
            hide: true,
            prop: 'rewardType',
            search: true,
            type: 'select',
            size: 'small',
            // dicData: [
            //     {
            //         label: '全部',
            //         value: 0
            //     }, {
            //         label: '推广奖励',
            //         value: 1
            //     }, {
            //         label: '商品奖励',
            //         value: 2
            //     }, {
            //         label: '积分奖励',
            //         value: 3
            //     }
            // ]
        },
        {
            label: '商品奖励额',
            prop: 'goodsRewardAmount',
            slot: true,
        },
        {
            label: '积分奖励额',
            prop: 'integralRewardAmount',
            slot: true,
        },
        {
            label: '推广奖励额',
            prop: 'promotionRewardAmount'
        },
        {
            label: '可用积分',
            prop: 'userfulIntegral',
            slot: true,
        },
        {
            label: '奖励总额',
            prop: 'rewardSumAmount'
        }

       
    ],

}
